package com.jeethink.erp.buy.service;

import java.util.List;
import com.jeethink.erp.buy.domain.TbBuy;

/**
 * 进货Service接口
 * 
 * @author ypr
 * @date 2021-05-31
 */
public interface ITbBuyService 
{
    /**
     * 查询进货
     * 
     * @param buyId 进货ID
     * @return 进货
     */
    public TbBuy selectTbBuyById(Long buyId);

    /**
     * 查询进货列表
     * 
     * @param tbBuy 进货
     * @return 进货集合
     */
    public List<TbBuy> selectTbBuyList(TbBuy tbBuy);

    /**
     * 新增进货
     * 
     * @param tbBuy 进货
     * @return 结果
     */
    public int insertTbBuy(TbBuy tbBuy);

    /**
     * 修改进货
     * 
     * @param tbBuy 进货
     * @return 结果
     */
    public int updateTbBuy(TbBuy tbBuy);

    /**
     * 批量删除进货
     * 
     * @param buyIds 需要删除的进货ID
     * @return 结果
     */
    public int deleteTbBuyByIds(Long[] buyIds);

    /**
     * 删除进货信息
     * 
     * @param buyId 进货ID
     * @return 结果
     */
    public int deleteTbBuyById(Long buyId);
}
